package com.kinyx.framework.reflect;

import org.junit.Assert;
import org.junit.Test;

import com.kinyx.framework.reflect.ClassUtils_Tester.A;
import com.kinyx.framework.reflect.ClassUtils_Tester.I;

public class KClassScanner_Tester_scanClasses {

	@Test
	public void test1() {
		Assert.assertTrue(KClassScanner.scanClasses(I.class, "com.kinyx.framework.reflect", false, false).isEmpty());
		Assert.assertFalse(KClassScanner.scanClasses(I.class, "com.kinyx.framework.reflect", false, true).isEmpty());

		Assert.assertFalse(KClassScanner.scanClasses(I.class, "com.kinyx.framework.reflect.ClassUtils_Tester", false, false).isEmpty());
		Assert.assertFalse(KClassScanner.scanClasses(I.class, "com.kinyx.framework.reflect.ClassUtils_Tester", false, true).isEmpty());
	}

	@Test
	public void test2() {
		Assert.assertTrue(KClassScanner.scanClasses(A.class, "com.kinyx.framework.reflect", false, false).isEmpty());
		Assert.assertFalse(KClassScanner.scanClasses(A.class, "com.kinyx.framework.reflect", false, true).isEmpty());

		Assert.assertFalse(KClassScanner.scanClasses(A.class, "com.kinyx.framework.reflect.ClassUtils_Tester", false, false).isEmpty());
		Assert.assertFalse(KClassScanner.scanClasses(A.class, "com.kinyx.framework.reflect.ClassUtils_Tester", false, true).isEmpty());
	}

}
